package minidb.index;

import minidb.record.*;
import minidb.type.Constant;

public interface index {
	
	public RID beforeFirst(Constant SearchKey);
	
	public RID getRid();
	
	public boolean hasNext();
	
	public RID next();
	
	public void insert(Constant val, RID rid);
	
	public void delete(Constant val, RID rid);
	
	public void close();
}
